package act.droidcar;

import java.util.ArrayList;

import com.droidcar.AdapterImagens;
import android.app.Activity;
import android.os.Bundle;
import android.widget.Gallery;

/**
 * Activity para visualizacao das imagens do veiculo.
 */
public class TelaImagens extends Activity{


	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);		
		setContentView(R.layout.lista_imagens);
		
		ArrayList<String> lista = this.getIntent().getStringArrayListExtra("Imagens");  
		((Gallery) findViewById(R.id.img_veiculos)).setAdapter(new AdapterImagens(this.getApplicationContext(),lista));
		
	}	
		
}




